package com.example.demo.oo.repository;

import com.example.demo.oo.domain.User;
import com.example.demo.oo.domain.vo.Mobile;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UserRepository extends JpaRepository<User, Integer> {
    User findByMobile(Mobile mobile);
}
